DSMConsole.ini Configuration Reference
This document isDSMConsole.iniThis is a document that summarizes the items and actions that can be set in.
File Location and Application Method
- Default position:
GetModulePath() + "DSMConsole.ini", that isDSMConsole.exesame directory - Writing Item:
[INIT]ofUSERID,ADDRESS,PORTIt is updated when the console is closed/saved profile. - The remaining items are read-only.
- String comparison is case-sensitive unless otherwise specified.
Quick Example
[INIT]
LANG=KOR
TIMEOUT=60
RECVTIMEOUT=120
ADDRESS=127.0.0.1
USERID=document
PORT=62004
CONNECTION=SSL
TEXTBUTTON=NO
BUTTONSIZE=16
CORPLOGO=YES
PASSWDHASH=HASH
; 세미콜론으로 구분한 허용 접두어
CUSTOMID_FILTER_PREFIX=CUSTOM_;IPDS_
ADDINID_FILTER_PREFIX=ADDIN_;SWORK_
; 값의 첫 글자가 1일 때 활성화
SWORK_SEMI_FREE_ENABLE=1
SWORK_NORMAL_ENABLE=1
SWORK_MAXEON_ENABLE=1
SWORK_HIDE_HOOK_MODULE=0
SWORK_HIDE_COND_MODULE=0
SWORK_HIDE_DETECT_POLICY=0
SWORK_HIDE_EXCEPT_POLICY=0
SWORK_HIDE_HOOK_EXT_MSG=0
SWORK_HIDE_HOOK_FORMAT_VIEW=0
MAX_DEC_COUNT_DAY=9999
MAX_DEC_COUNT_PER=9999
MARKING_EX_SPAN=30
LOGINIPCOUNT=1
NTSIP=127.0.0.1
NTSPORT=62000
[PWD]
ENABLE=NO
[RES]
RES_STRING=0
WRITE_FILE_NAME=ConsoleResource.ini
[ORG_EXECUTE0]
TITLE=도구 실행
EXE=C:\Tools\Tool.exe
PARAM=
The example is for format description. The server address, port, policy prefix, and executable file must be specified according to the operating environment.
[INIT]Basic Operations
| key | value/type | When there is no key | Action | Access |
|---|---|---|---|---|
LANG | ENG, JPN, others | Korean | ENGis English,JPNLoads Japanese resources. Other values and empty values are Korean.KOR) is processed. | Reading |
TIMEOUT | Integer (seconds) | 60 | Set the communication timeout. There are no separate range restrictions. | Reading |
RECVTIMEOUT | Integer (seconds) | 120 | If the value is positive, maximum300Set the reception limit time by limiting to seconds.0The following does not change the existing values. | Reading |
ADDRESS | Server IP/Host String | empty string | The login address is different from the existing one and the value is127.0.0.1If this is not the case, it will be overwritten with the server address from the INI. If this condition is met,USERID, PORTreads together. | Reading/Writing |
USERID | Administrator ID string | empty string | ADDRESSWhen the above overwrite condition is satisfied, it is used as the administrator ID. The current administrator ID is recorded upon saving. | Reading/Writing |
PORT | integer | Maintain existing settings | ADDRESSWhen the overwrite condition is met and the key read is successful, the server port is changed. The current port is recorded upon saving. The default general port is62004Yes. | Reading/Writing |
CONNECTION | SSLor others | TCP | exactlySSLWhen it is SSL, other values and empty values use TCP. | Reading |
TEXTBUTTON | YESor others | NOand the same | exactlyYESSet the toolbar to text button mode when __PH_0__. | Reading |
BUTTONSIZE | integer | 16 | It is used as a button size at the start. There are no separate range restrictions. | Reading |
CORPLOGO | YESor others | Refer to the caution below | exactlyYESDisplay the company logo when it is. | Reading |
VERSION | string | empty string | Use as a console version string for display. | Reading |
VERSION_SERVER | string | empty string | Used as a version string for display purposes. | Reading |
CONSOLEVERSION | string | empty string | Use the internal console version as a string. | Reading |
PASSWDHASH | PLAINor others | Using Hash | In an environment where the password hash feature is enabled, exactlyPLAINIf it is plaintext mode, other values or no key means it is hash mode. | Reading |
Caution when overwriting the login address
ADDRESSThe basic string is explicitly127.0.0.1it is an empty string. If there is no key and the registry address is different from the empty string, it can be overwritten as an empty address conditionally, so when managing the login server with INI,ADDRESS, USERID, PORTIt is safe to specify together.
CORPLOGOCaution for effective value when omitted
CORPLOGOIf there is no keyTEXTBUTTONIt operates as follows, influenced by the value.
TEXTBUTTON=YESandCORPLOGONone: Display logo- Other or
TEXTBUTTONNone: Hide Logo
To guarantee the intended stateCORPLOGO=YESorCORPLOGO=NOmust be specified.
[INIT]Policy and UI Settings
| key | value/type | When there is no key | Action |
|---|---|---|---|
CUSTOMID_FILTER_PREFIX | semicolon(;) Prefix List | Filter not applied | Only custom policies that start with one of the prefixes in the list remain. Parsing ends at the empty token. |
ADDINID_FILTER_PREFIX | semicolon(;) Prefix List | Show All | Only keeps event handlers/add-ins that start with one of the prefixes in the list. |
SWORK_SEMI_FREE_ENABLE | First letter1 | Inactive | Displays the Semi-Free process type on the Add Process screen. |
SWORK_NORMAL_ENABLE | First letter1 | Inactive | Displays the general process type on the add process screen. |
SWORK_MAXEON_ENABLE | First letter1 | Inactive | Displays MAXEON process type on the Add Process screen. |
SWORK_HIDE_HOOK_MODULE | First letter1Hidden by means | Editing UI is displayed | Hide the Hook module area on the process addition screen and minimize the window. In the program detail tree, the key exists while the value is1Display the Hook node only when it is not this. |
SWORK_HIDE_COND_MODULE | First letter1Hide Edit UI | Edit UI is displayed | Hide the input control and guidance text for the inclusion module of the control condition. However, the detailed tree code value is1When adding module information, there exists a display action that is opposite to the name. |
SWORK_HIDE_DETECT_POLICY | First letter1Hidden by means | Detailed Tree Node Not Created | A key exists while the value is1Display the change detection policy node only when it is not this. |
SWORK_HIDE_EXCEPT_POLICY | First letter1Hidden by means | Detailed Tree Node Not Created | A key exists while the value is1Display the exception policy node only when it is not this. |
SWORK_HIDE_HOOK_EXT_MSG | First letter1Hidden by means | display | Hide the checkbox for displaying messages on the extension settings screen. |
SWORK_HIDE_HOOK_FORMAT_VIEW | First letter1Hidden by means | display | Hide the format view button on the extension settings screen. |
MAX_DEC_COUNT_DAY | integer | 9999 | Use as the maximum value for the daily decryption limit input control. The minimum value is0is. |
MAX_DEC_COUNT_PER | integer | 9999 | 1 time / individual decryption limit is used as the maximum value for the input control. The minimum value is0is. |
MARKING_EX_SPAN | Integer (1) | 30 | When turning on the marking exception period, reset the end date to a specified number of days back from the current date. |
LOGINIPCOUNT | integer | 1 | This is the maximum number of entries that can be added to the administrator allowed IP list. If the current list size is greater than or equal to the value, the addition action will be stopped. |
NTSIP | IP/Host String | empty string | This is the target address for the NTS socket connection when applying real-time policies. |
NTSPORT | integer | -1 | This is the target port for NTS socket connection when applying real-time policies. |
Missing detailed tree key of SWORK and0difference
SWORK_HIDE_HOOK_MODULE, SWORK_HIDE_DETECT_POLICY, SWORK_HIDE_EXCEPT_POLICYThe detailed tree code isGetPrivateProfileString()Nodes are created only within this successful block. Therefore, there is the following difference.
- No key: Do not create the detailed tree node.
- value
1: Do not create the detailed tree node. - value
0or the first character is1Not a value: Display the corresponding detail tree node
To display the node, do not omit the key.0must be specified as.
[PWD]
| key | value/type | When there is no key | Action |
|---|---|---|---|
ENABLE | YESor others | Inactive | If the display of the password reset button is allowed in CSO, exactlyYESWhen the user enters the password, it enables the password input control. |
[KEY]
| key | value/type | When there is no key | Action |
|---|---|---|---|
DSHEAD | exactly 16-character string | Server Profile'sDDT_DSHEADERKEYuse | Overwrite the DS header key for the server processing the audit trace file. The INI value is only applied when the final length is exactly 16 characters. |
DSHEADis a sensitive key that affects the processing of encrypted files. Incorrect values can cause decryption failures, and operational keys should not be recorded in documents or configuration management.
[RES]Resource Extraction/Application
RES_STRINGisCCsPropertyPage, CSiteDialog, SCInfoViewIt is evaluated commonly during initialization.
| key | value/type | default value | Action |
|---|---|---|---|
RES_STRING | 0, 1, 2 | 0 | 0: No action taken.1: Extract the current window's control string to a file.2: Apply the string from the file to the current window control. |
WRITE_FILE_NAME | File name or path string | empty string | RES_STRING=1Set the extraction file path based on the module path. If the value is empty, the default path initialized in the language manager is maintained. If the file does not exist, a UTF-16 BOM file is created. |
[ORG_EXECUTE0] ~ [ORG_EXECUTE5]
You can register up to 6 external programs in the context menu of the organization/group tree. The index range is0from5to go.
| key | mandatory | Action |
|---|---|---|
TITLE | Yes | This is the title to display in the menu. If it is empty, skip that item. |
EXE | Yes | This is the path to the executable file. If it is empty or the file does not actually exist, it skips that item. |
PARAM | No | This is the parameter string to be passed to the executable program. Empty values are also allowed. |
If a valid first item is found, create a top-level execution menu and each item willID_POPUP_MEMBER_EXECUTE_PROGRAM + 인덱스Add with command (DSOrgGroupView_GroupTreePartial.cpp:1100-1111).
Excluded items from the source
The following is because of the nameDSMConsole.iniIt can be easily misunderstood as a setting, but the actual storage location is different.
| item | Actual Repository |
|---|---|
[LOGIN]ofUSERID, ADDRESS, PORT, TIME, dynamic admin key | SetRegistryKey("DSConsole3xU")The specified Windows registry. However,USERID/ADDRESS/PORTis separately[INIT]It is also stored. |
[SIZE]Window Position/State | Windows Registry |
[CONNECTION] DB ID, PW, DS | Windows Registry |
[AKSSERVER]ofIP, PORT | Windows Registry |
DSMailAuth.iniof[MAIL_AUTH] | Separate fileDSMailAuth.ini |
console.cso, console.csmOption | Separate CSO/CSM file |
DSSerial/SerialFunc.cppofDSMConsole.iniThe two copy references are both commented out and are not included in the currently executing code.